package com.springboot.chapter1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class HelloWorldController {

	public static void main(String[] args) {
//		ConfigurableApplicationContext context =
				SpringApplication.run(HelloWorldController.class, args);
//		System.out.println(context.getBean(HelloWorldController.class));
		/*String[] beanNames = context.getBeanDefinitionNames();
		System.out.println(beanNames.length);
		for (String beanName : beanNames) {
			System.out.println(beanNames);
		}*/
	}

}
